package com.yc.springcloud.dao;

import com.yc.springcloud.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author DELL
 * @Date 2024/11/18 20:20
 * @Version 1.0
 */
@Mapper
public interface OrderDao {

	//新建订单
	void save(Order order);
	//修改订单状态
	void update(@Param("userId") Long userId, @Param("status") Integer status);

}
